<!DOCTYPE html>
<html lang="en">
<head>
    {include file="common/meta" /}
</head>
<body>
{include file="common/header" /}
{if !empty(1)}
{include file="common/notice" /}
{/if}
<!--Main Content Wrap Start-->
<div class="kode_content_wrap">
    <!--Result Slider Start-->
    <div class="result_slide_wrap">
        <div class="result_slider">
            {foreach $schedule as $key =>$vo}
            <div>
                <div class="kf_result_thumb">
                    <span>{$vo.start_time}</span>
                    <div class="kf_result">
                        <div class="figure pull-left">
                            <figure>
                                <img src="{$vo.left_image}" alt="">
                            </figure>
                            <a href="#">{$vo.left_team}</a>
                        </div>
                        <span>vs</span>
                        <div class="figure pull-right">
                            <figure>
                                <img src="{$vo.right_image}" alt="">
                            </figure>
                            <a href="#">{$vo.right_team}</a>
                        </div>
                    </div>
                    {if ($vo.category == 1)}
                    <a href="{:url('user/free')}">
                        免費查看
                    </a>
                    {else /}
                    <a href="{:url('user/profession')}">
                        點此購買
                    </a>
                    {/if}
                </div>
            </div>
            {/foreach}
        </div>
    </div>
    <!--Result Slider End-->
    <section>
        <div class="container">
            <div class="row">
                <div class="col-md-8">
                    <!--Featured Slider Start-->
                    <div class="kf_featured_slider" style="left: 0px; top: 0px">
                        <!--Heading 1 Start-->
                        <h6 class="kf_hd1">
                            <span>運彩分析王</span>
                        </h6>
                        <!--Heading 1 END-->
                        <div class="featured_slider">
                            {foreach $article as $key => $vo}
                            <div>
                                <div class="kf_featured_thumb">
                                    <figure>
                                        <img src="{$vo.cover_image}" alt="">
                                    </figure>
                                    <div class="text">
                                        <h6>{$vo.title}</h6>
                                        <h2><a href="{:url('article', ['id' => $vo.id])}">點此購買VIP必殺賽事</a></h2>
                                        <span>{$vo.description}</span>
                                    </div>
                                </div>
                            </div>
                            {/foreach}
                        </div>
                    </div>
                    <!--Featured Slider End-->
                    <!--Featured 2 Slider Start-->
                    <div class="kf_featured_wrap2">
                        <!--Featured 2 thumb Start-->
                        <!--Featured 2 thumb End-->
                        <!--Featured 2 thumb Start-->
                        <!--Featured 2 thumb End-->
                    </div>
                    <!--Featured 2 Slider End-->
                    <!--Featured 3 Slider Start-->
                    <div class="kf_featured_wrap3">
                        <div class="row">
                            <div class="col-md-6">
                                <!--Featured 3 thumb Start-->
                                <!--Featured 3 thumb End-->
                            </div>
                        </div>
                    </div>
                    <!--Featured 3 Slider End-->
                    <!--Featured 2 Slider Start-->
                    <div class="kf_featured_wrap2">
                        <!--Heading 1 Start-->
                        <!--Heading 1 END-->
                        <!--Featured Thumb 2 Start-->
                        <!--Featured Thumb 2 End-->
                        <!--Featured Thumb 2 Start-->
                    </div>
                    <!--Featured 2 Wraper End-->
                    <!--Add Banner Start-->
                    <!--Add Banner End-->
                    <!--Featured 4 Wraper Start-->
                    <div class="kf_featured_wrap4">
                        <div class="row">
                            <div class="col-md-6">
                                <!--Featured 4 Thumb Start-->
                                <!--Featured 4 Thumb End-->
                            </div>
                        </div>
                    </div>
                    <!--Featured 4 Wraper End-->
                </div>
                <aside class="col-md-4">
                    <!--Widget Ranking Start-->
                    <div class="widget widget_ranking" style="left: 0px; top: 0px">
                        <!--Heading 1 Start-->
                        <h6 class="kf_hd1">
                            <span>最新賽果</span>
                        </h6>
                        <!--Heading 1 END-->
                        <div class="kf_border">
                            <!--Table Wrap Start-->
                            <ul class="kf_table">
                                {foreach $result as $key => $vo}
                                <li>
                                    <div class="table_no">
                                        <span>{$vo.sport_event}</span>
                                    </div>
                                    <div class="team_logo">
                                        <span><img src="/index/images/team_logo.png" alt=""></span>
                                        <a href="javascript:;">{$vo.left_team}VS{$vo.right_team}</a>
                                    </div>
                                    <div class="team_point">
                                        <span>
                                            {if ($vo.left_score > $vo.right_score)}
                                            贏
                                            {else /}
                                            輸
                                            {/if}
                                        </span>
                                    </div>
                                </li>
                                {/foreach}
                            </ul>
                            <!--Table Wrap End-->
                        </div>
                    </div>
                    <!--Widget Ranking End-->
                    <!--Widget Ranking Start-->
                    <!--Widget Ranking Start-->
                    <!--Widget Ranking End-->
                    <!--Widget Add 2 Strat-->
                    <!--Widget Add 2 End-->
                    <!--Widget Next Match Start-->
                    <!--Widget Next Match End-->
                    <!--Widget NewsLatter Start-->
                    <div class="widget widget_newsletter">
                        <!--Heading 1 Start-->
                        <!--Heading 1 END-->
                    </div>
                    <!--Widget NewsLatter End-->
                    <!--Widget poll Start-->
                    <!--Widget poll End-->
                    <!--Widget Add 3 Strat-->
                    <!--Widget Add 3 End-->
                </aside>
            </div>
        </div>
    </section>
</div>
<!--Main Content Wrap End-->
<!--ticker Wrap Start-->
<div class="kf_ticker-wrap twitter_ticker">
    <div class="container">
    </div>
</div>
<!--ticker Wrap End-->

{include file="common/footer"}

{include file="common/script" /}
</body>
</html>